/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.creditcloud.ump.model.ump.user;

import com.creditcloud.ump.model.ump.base.NotifyRequest;
import com.creditcloud.ump.model.ump.enums.CmdIdType;
import javax.ws.rs.QueryParam;
import lombok.Data;
import lombok.ToString;

/**
 * 新版联动接口，原有接口保持兼容
 *
 * @author rooseek
 */
@Data
@ToString(callSuper = true)
public class UserBindCardNotifyRequest2 extends NotifyRequest {

    @QueryParam("user_id")
    private String user_id;

    @QueryParam("order_id")
    private String order_id;

    @QueryParam("mer_date")
    private String mer_date;

    @QueryParam("last_four_cardid")
    private String last_four_cardid;

    @QueryParam("user_bind_agreement_list")
    private String user_bind_agreement_list;

    public UserBindCardNotifyRequest2() {
        super(CmdIdType.MER_BIND_CARD_APPLY_NOTIFY);
    }

    public UserBindCardNotifyRequest2(String mer_id,
                                      String user_id,
                                      String ret_code,
                                      String last_four_cardid,
                                      String user_bind_agreement_list) {
        super(CmdIdType.MER_BIND_CARD_APPLY_NOTIFY, mer_id, ret_code, null);
        this.user_id = user_id;
        this.last_four_cardid = last_four_cardid;
        this.user_bind_agreement_list = user_bind_agreement_list;
    }
}
